﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Banmaytinh.Demo
{
    public class useoverload

    {
        public static int sum(int a, int b)
        {
            return a + b;

        }

        public static int sum (int a , int b, int c)
        {
            return a + b + c;

        }
        public static int sum(int a, int b, int c, int d)
        {
            return a + b + c + d;
        }
    }
}